package trading.formulas;

import trading.Parameters;
import trading.data.IStockTickDataCollection;
import trading.formulas.functions.TradingFunctionException;

public interface IFomula {

	public Parameters getParameters();
	
	/**
	 * 
	 * @param name The name of return value.
	 * @param dataCollection
	 * @param index
	 * @return
	 * @throws TradingFunctionException
	 */
	public Object getValue(String name, IStockTickDataCollection dataCollection, int index) throws TradingFunctionException;
}
